package com.club.football.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.club.football.entity.Files;
import com.club.football.utils.R;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * 日志服务文件
 *
 * @author 1
 * @date 2024/01/17
 */
public interface FilesService extends IService<Files> {


    /**
     * 文件上传
     *
     * @param file 文件
     * @return {@link R}<{@link String}>
     * @throws IOException IOEXCEPTION
     */
    R<String> filesUpload(MultipartFile file) throws IOException;


}
